| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import { combineReducers, applyMiddleware, createStore } from 'redux'; |
||
| 29 | export function buildStore() { |
||
| 30 | const rootReducer = combineReducers(reducers); |
||
| 31 | const routerHistoryMiddleware = routerMiddleware(browserHistory); |
||
| 32 | |||
| 33 | return applyMiddleware(thunk, apiMiddleware, routerHistoryMiddleware)(createStore)(rootReducer); |
||
| 34 | } |
||
| 35 |